home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
FADALPQP.M4
< prev
next >
Wrap
Text File
|
1996-04-01
|
4KB
|
167 lines
name Fadal 4 Axis
% 00
/ 00
O >4
L ->3.>4
N >4
G >2
g >2 G modal
S >4
H >2
D >2
M >2
T >2
R ->3.>4
z ->3.>4 Z
E >2
X ->3.>4
Y ->3.>4
Z ->3.>4
A ->3.>3 Limit 0 360 Incsign
B ->3.>4
I ->3.>4
J ->3.>4
K ->3.>4
F >4.>2
Q ->3.>4
P ->3.>4
( 00
d >3.>4
e >3.>4
f >3.>4
replace "A" with "A-"
replace "A--" with "A"
replace "e" with "Diam. "
replace "f" with "Corner Rad. "
ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85 # List of g codes that are modal
ModalLetters X Y Z F A # List of letters that are modal
Sequence#s N 1 1 1 # Char, freq, incr & start
First#? N # Y or N 'Output 1st sequence no.
Last#? N # Y or N 'Output last sequence no.
HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.
RotaryFeed F[InvTime]
FeedType g 95 94 93
Comment ( ) # Begin End comment char.
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
Feed G1 # Linear move
Rapid G0 # Rapid positioning word
Cw G2 # Circular move clockwise
Ccw G3 # Circular move counter clockwise
Inc/Abs G 91 90 # Inc & Abs char. & values
CtrCode I J # I J or R or I J K L
Helical? Y
Spaces? Y # Y or N 'Spaces between words
RevSigns A # List of letters to reverse signs
Incremental? N # Y or N 'Inc or abs output
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants
UppercaseComments? Y # Y or N 'Require uppercase comments
WorkDefault 1 # Work offset register default
Drill # Drilling canned/manual cycle
G81 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
end cancel
Peck # Pecking canned/manual cycle
G83 G99 R[Vclear] z[D] F[FRate] Q[VBite] X[H] Y[V]
end cancel
Tap # Tapping canned/manual cycle
G84 G99 R[Vclear] z[D] F[Frate] Q[VBite] X[H] Y[V]
end cancel
LTap # Left handed tapping cycle
G74 G99 R[Vclear] z[D] F[Frate] Q[VBite] X[H] Y[V]
end cancel
Ream # Reaming canned/manual cycle
G85 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
end cancel
Bore # Boring canned/manual cycle
G86 G99 R[Vclear] z[D] F[FRate] X[H] Y[V]
end cancel
Back # Back boring canned/manual cycle
G76 G99 R[Vclear] z[D] F[FRate] Q[Sclear] X[H] Y[V]
end cancel
Cancel # Cancel a canned/manual cycle
G80
end
Index X # Index the rotary table
G0 G49 G90 Z0
G0 X[H] Y[V] A[Rotangle]
E[Work]
H[Lcomp] M[Cool] Z[D]
end
StartCode # Start of the program
%0
O[Program#]
End
LineCode # Linear move
G1 X[H] Y[V] Z[D] A[Rotangle] g[FeedType] F[FRate] B[Dist4]
end
RapidCode Modal? Y
G0 X[H] Y[V] Z[D] A[Rotangle] a[RotAxDir]
end
1stToolChange # First tool change
M6 T[Tool] (0 e[ToolDiam] f[corner]
G0 G90 G8 E[work] S[Speed] M[Direct] X[H] Y[V] A[Rotangle]
H[Lcomp] M[Cool] Z[D]
End
Infeed # Enable cutter comp
G1 G[Side] X[H] Y[V] A[Rotangle] F[FRate]
end
Outfeed # Disable cutter comp
G40 X[H] Y[V] Z[D] A[Rotangle]
end
ToolChange # Secondary tool changes
M5 M9
G0 G49 G90 Z0
M6 T[Tool] (0 d[ToolRad] e[ToolDiam] f[corner]
G0 G90 S[Speed] M[Direct] X[H] Y[V] A[Rotangle]
H[Lcomp] M[Cool] Z[D]
End
EndCode # End of the program
M5 M9
G0 G49 G90 Z0
E0 X0 Y0
M2
%0
End